翻訳と辞書
Words near each other
・ Spectacle Reef Light
・ Spectacled barwing
・ Spectacled bear
・ Spectacled Bear Conservation Society
・ Spectacled bristle tyrant
・ Spectacled bulbul
・ Spectacled caiman
・ Spectacled cormorant
・ Spectacled dormouse
・ Spectacled eider
・ Spectacled finch
・ Specious
・ Specious present
・ Specioza Kazibwe
・ Speck
Speck (cipher)
・ Speck (disambiguation)
・ Speck (printing)
・ Speck (surname)
・ Speck Alto Adige PGI
・ Speck Electronics
・ Speck Oaks, Wisconsin
・ Speck of Gold
・ Speck Products
・ Speck Rhodes
・ Specker
・ Specker See
・ Specker sequence
・ Speckkahl
・ Speckkuchen


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Speck (cipher) : ウィキペディア英語版
Speck (cipher)

Speck is a family of lightweight block ciphers publicly released by the National Security Agency (NSA) in June 2013. Speck has been optimized for performance in software implementations, while its sister algorithm, Simon, has been optimized for hardware implementations. Speck is an add-rotate-xor (ARX) cipher.
Speck supports a variety of block and key sizes. A block is always two words, but the words may be 16, 24, 32, 48 or 64 bits in size. The corresponding key is 2, 3 or 4 words. The round function consists of two rotations, adding the right word to the left word, xoring the key into the left word, then and xoring the left word to the right word. The number of rounds depends on the parameters selected, as follows:
The key schedule uses the same round function as the main block cipher.
== Reference code ==
The following is the designers' reference implementation of the Speck variant with a 128-bit block size and key, where key = (K(), K()). It is adapted from their IACR ePrint.〔

#include
#define ROR(x, r) ((x >> r) | (x << (64 - r)))
#define ROL(x, r) ((x << r) | (x >> (64 - r)))
#define R(x, y, k) (x = ROR(x, 8), x += y, x ^= k, y = ROL(y, 3), y ^= x)
#define ROUNDS 32
void encrypt(uint64_t const pt(2 ),
uint64_t ct(2 ),
uint64_t const K(2 ))

For 16-bit words, the rotates are 7 bits right and 2 bits left; for all other word sizes, they are 8 and 3 as shown here.
If the key is more than 2 words long, there are 2 or 3 a values, which are used in rotation.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Speck (cipher)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.